package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单日志对象 erp_orderlog
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
public class ErpOrderlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Long operateType;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 操作员 */
    @Excel(name = "操作员")
    private String userAccount;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String userName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commName;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String stockTrackingnumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setOperateType(Long operateType) 
    {
        this.operateType = operateType;
    }

    public Long getOperateType() 
    {
        return operateType;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setUserAccount(String userAccount) 
    {
        this.userAccount = userAccount;
    }

    public String getUserAccount() 
    {
        return userAccount;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCommName(String commName) 
    {
        this.commName = commName;
    }

    public String getCommName() 
    {
        return commName;
    }
    public void setStockTrackingnumber(String stockTrackingnumber) 
    {
        this.stockTrackingnumber = stockTrackingnumber;
    }

    public String getStockTrackingnumber() 
    {
        return stockTrackingnumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("operateType", getOperateType())
            .append("operateTime", getOperateTime())
            .append("userAccount", getUserAccount())
            .append("userName", getUserName())
            .append("commName", getCommName())
            .append("stockTrackingnumber", getStockTrackingnumber())
            .toString();
    }
}
